
#include "member_BSplitItem.h"
#include "member_BSplitButton.h"

using namespace BWE;

member_BSplitItem::member_BSplitItem(BSplitItem* splitItem) : IAlignItem(splitItem)
{
	splitButton = 0;
	splitBoard = 0;
	visible = true;
}
member_BSplitItem::~member_BSplitItem()
{

}

void member_BSplitItem::dirtyCombox()
{
	dirty = true;
	if (splitButton)
	{
		splitbutton_member(splitButton)->dirty = true;
		splitButton->fresh();
		if (splitBoard)
		{
			splitBoard->dirty = true;
			splitBoard->fresh();
		}
	}
}
